#ifndef _SPRITE_H_
#define _SPRITE_H_

#include <atlstr.h>
#include <d3d9.h>
#include <d3dx9.h>

#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#include "Vector3.h"

#pragma once

class VSprite
{
public:
	VSprite(void);
	VSprite(CString strSpriteName);
	virtual ~VSprite(void);

	virtual void Draw();
	virtual void Release();

	void SetPosition(float fX, float fY);

	VVector3*			m_v3position;
	VVector3*			m_v3anchor;

protected:
	// sprite declarations
	LPDIRECT3DTEXTURE9	m_sprite;    // the pointer to the sprite
	
};
#endif